const data = [
  {"id": 0, "title": "iphone x", "price": 8388, "inventory": 2},
  {"id": 1, "title": "iphone 8", "price": 5888, "inventory": 10},
  {"id": 2, "title": "iphone 7 plus", "price": 6388, "inventory": 5}
]

export default {
  getProducts(callback) {
    setTimeout(() => {
      callback(data)
    }, 1000)
  }
}
